package com.weipai.springboot.enums;

public enum UserType {

    MEMBER(1, "普通会员"),
    CUSTOMER(2, "大客户"),
    ARTISAN(3, "技工"),
    EMPLOYEE(4, "员工");
    private int type;
    private String desc;

    UserType(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
